package com.nanxun.config;


import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;


/**
 *
 * 微信小程序配置类
 * @param
 * @return
 * @author nanxun
 * @create 2025/6/21
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix="wx")
@RefreshScope
public class WxParamConfig {
    
    
    /**
     *
     * 微信小程序appid
     * @param
     * @return 
     * @author nanxun
     * @create 2025/6/21
     **/
    private String appid;


    /**
     *
     * 微信小程序秘钥secret
     * @param
     * @return
     * @author nanxun
     * @create 2025/6/21
     **/
    private String secret;


    /**
     *
     * 登录凭证校验接口URL
     * @param
     * @return
     * @author nanxun
     * @create 2025/6/21
     **/
    private String url;


    /**
     *
     * 微信小程序登录密码(固定：webchat)
     * @param
     * @return
     * @author nanxun
     * @create 2025/6/21
     **/
    private String pwd;
}
